package com.amigo.online.provider.manager.model.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Table;

import org.apache.ibatis.type.Alias;

@Table(name = "adv_home_apply_area_tbl")
@Alias(value = "advHomeApplyAreaTbl")
public class AdvHomeApplyAreaTbl implements Serializable {

    /**
     *
     */
    private static final long serialVersionUID = 1L;
    @Column(name = "id")
    private Long id;

    @Column(name = "adv_id")
    private Long advId;//广告申请表ID

    @Column(name = "area_id")
    private Long areaId;//投放区域ID

    private AdvAreaTbl advAreaTbl;//地区

    @Column(name = "created_time")
    private Long createdTime;


    @Column(name = "deleted")
    private Integer deleted;//是否删除

    @Column(name = "deleted_time")
    private Long deletedTime;//删除时间

    @Column(name = "updated_time")
    private Long updatedTime;//修改时间


    public Long getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Long createdTime) {
        this.createdTime = createdTime;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Long getDeletedTime() {
        return deletedTime;
    }

    public void setDeletedTime(Long deletedTime) {
        this.deletedTime = deletedTime;
    }

    public Long getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Long updatedTime) {
        this.updatedTime = updatedTime;
    }

    public AdvAreaTbl getAdvAreaTbl() {
        return advAreaTbl;
    }

    public void setAdvAreaTbl(AdvAreaTbl advAreaTbl) {
        this.advAreaTbl = advAreaTbl;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getAdvId() {
        return advId;
    }

    public void setAdvId(Long advId) {
        this.advId = advId;
    }

    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }


}
